home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / HENSA / MATHS / PLPLOT / PLPLOT.ZIP / doc / unix.tex < prev    next >
LaTeX Document  |  1980-02-12  |  5.4 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: LaTeX Document (document/latex).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
1% dexvert Corel 10 Texture (image/corel10Texture) ext Unsupported
1% dexvert Croteam texture file (image/croteamTextureFile) ext Unsupported
1% dexvert Text File (text/txt) fallback Supported
100% file LaTeX document text default
99% file LaTeX document, ASCII text default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/281 LaTeX (Subdocument) default
100% detectItEasy Format: plain text[LF] default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 5c 73 65 63 74 69 6f 6e | 7b 55 6e 69 78 2d 74 79 |\section|{Unix-ty|
|00000010| 70 65 20 73 79 73 74 65 | 6d 73 7d 0a 5c 6c 61 62 |pe syste|ms}.\lab|
|00000020| 65 6c 7b 73 65 63 3a 75 | 6e 69 78 7d 0a 0a 25 25 |el{sec:u|nix}..%%|
|00000030| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000040| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000050| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000060| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000070| 25 25 25 25 25 25 25 25 | 25 25 25 0a 0a 5c 73 75 |%%%%%%%%|%%%..\su|
|00000080| 62 73 65 63 74 69 6f 6e | 7b 4c 69 6e 6b 69 6e 67 |bsection|{Linking|
|00000090| 7d 0a 0a 4c 69 6e 6b 69 | 6e 67 20 79 6f 75 72 20 |}..Linki|ng your |
|000000a0| 70 72 6f 67 72 61 6d 20 | 77 69 74 68 20 74 68 65 |program |with the|
|000000b0| 20 50 4c 70 6c 6f 74 20 | 6c 69 62 72 61 72 79 20 | PLplot |library |
|000000c0| 6f 6e 20 61 20 55 6e 69 | 78 20 74 79 70 65 0a 73 |on a Uni|x type.s|
|000000d0| 79 73 74 65 6d 20 63 61 | 6e 20 62 65 20 64 6f 6e |ystem ca|n be don|
|000000e0| 65 20 75 73 69 6e 67 20 | 73 6f 6d 65 74 68 69 6e |e using |somethin|
|000000f0| 67 20 73 69 6d 69 6c 61 | 72 20 74 6f 20 28 74 68 |g simila|r to (th|
|00000100| 69 73 20 69 73 20 73 79 | 73 74 65 6d 20 73 70 65 |is is sy|stem spe|
|00000110| 63 69 66 69 63 29 3a 0a | 5c 62 65 67 69 6e 7b 76 |cific):.|\begin{v|
|00000120| 65 72 62 61 74 69 6d 7d | 0a 63 63 20 20 2d 6f 20 |erbatim}|.cc -o |
|00000130| 6d 61 69 6e 20 6d 61 69 | 6e 2e 63 20 6c 69 62 70 |main mai|n.c libp|
|00000140| 6c 70 6c 6f 74 66 2e 61 | 20 2d 6c 6d 20 2d 6c 58 |lplotf.a| -lm -lX|
|00000150| 31 31 20 20 20 20 20 6f | 72 0a 66 37 37 20 2d 6f |11 o|r.f77 -o|
|00000160| 20 6d 61 69 6e 20 6d 61 | 69 6e 2e 66 20 6c 69 62 | main ma|in.f lib|
|00000170| 70 6c 70 6c 6f 74 66 2e | 61 20 2d 6c 6d 20 2d 6c |plplotf.|a -lm -l|
|00000180| 58 31 31 0a 5c 65 6e 64 | 7b 76 65 72 62 61 74 69 |X11.\end|{verbati|
|00000190| 6d 7d 0a 66 6f 72 20 74 | 68 65 20 73 69 6e 67 6c |m}.for t|he singl|
|000001a0| 65 20 70 72 65 63 69 73 | 69 6f 6e 20 6c 69 62 72 |e precis|ion libr|
|000001b0| 61 72 79 20 28 7b 5c 74 | 74 20 2d 6c 70 6c 70 6c |ary ({\t|t -lplpl|
|000001c0| 6f 74 64 7d 20 66 6f 72 | 20 64 6f 75 62 6c 65 29 |otd} for| double)|
|000001d0| 2e 20 20 0a 59 6f 75 20 | 63 61 6e 20 61 6c 73 6f |. .You |can also|
|000001e0| 20 6c 69 6e 6b 20 75 73 | 69 6e 67 20 74 68 65 20 | link us|ing the |
|000001f0| 7b 5c 74 74 20 2d 6c 7d | 20 6f 70 74 69 6f 6e 20 |{\tt -l}| option |
|00000200| 74 6f 20 74 68 65 20 6c | 69 6e 6b 65 72 2c 0a 69 |to the l|inker,.i|
|00000210| 2e 65 2e 3a 0a 5c 62 65 | 67 69 6e 7b 76 65 72 62 |.e.:.\be|gin{verb|
|00000220| 61 74 69 6d 7d 0a 63 63 | 20 20 2d 6f 20 6d 61 69 |atim}.cc| -o mai|
|00000230| 6e 20 6d 61 69 6e 2e 63 | 20 2d 6c 70 6c 70 6c 6f |n main.c| -lplplo|
|00000240| 74 66 20 2d 6c 6d 20 2d | 6c 58 31 31 20 20 20 20 |tf -lm -|lX11 |
|00000250| 20 6f 72 0a 66 37 37 20 | 2d 6f 20 6d 61 69 6e 20 | or.f77 |-o main |
|00000260| 6d 61 69 6e 2e 66 20 2d | 6c 70 6c 70 6c 6f 74 66 |main.f -|lplplotf|
|00000270| 20 2d 6c 6d 20 2d 6c 58 | 31 31 0a 5c 65 6e 64 7b | -lm -lX|11.\end{|
|00000280| 76 65 72 62 61 74 69 6d | 7d 0a 68 6f 77 65 76 65 |verbatim|}.howeve|
|00000290| 72 20 69 6e 20 74 68 69 | 73 20 63 61 73 65 20 79 |r in thi|s case y|
|000002a0| 6f 75 20 6d 75 73 74 20 | 62 65 20 76 65 72 79 20 |ou must |be very |
|000002b0| 63 61 72 65 66 75 6c 20 | 74 6f 20 67 65 74 20 74 |careful |to get t|
|000002c0| 68 65 20 6f 72 64 65 72 | 20 6f 66 20 6c 69 62 72 |he order| of libr|
|000002d0| 61 72 69 65 73 0a 6f 6e | 20 74 68 65 20 63 6f 6d |aries.on| the com|
|000002e0| 6d 61 6e 64 20 6c 69 6e | 65 20 72 69 67 68 74 20 |mand lin|e right |
|000002f0| 28 6c 69 62 72 61 72 69 | 65 73 20 74 6f 20 62 65 |(librari|es to be|
|00000300| 20 73 65 61 72 63 68 65 | 64 20 6c 61 73 74 20 73 | searche|d last s|
|00000310| 68 6f 75 6c 64 20 62 65 | 20 70 6c 61 63 65 64 20 |hould be| placed |
|00000320| 61 74 0a 74 68 65 20 65 | 6e 64 20 6f 66 20 74 68 |at.the e|nd of th|
|00000330| 65 20 63 6f 6d 6d 61 6e | 64 20 6c 69 6e 65 29 2e |e comman|d line).|
|00000340| 20 20 49 6e 20 74 68 65 | 20 6c 61 74 74 65 72 20 | In the| latter |
|00000350| 63 61 73 65 20 74 68 65 | 20 6c 69 62 72 61 72 79 |case the| library|
|00000360| 20 28 7b 5c 74 74 0a 6c | 69 62 70 6c 70 6c 6f 74 | ({\tt.l|ibplplot|
|00000370| 66 2e 61 7d 29 20 6d 75 | 73 74 20 62 65 20 69 6e |f.a}) mu|st be in|
|00000380| 20 74 68 65 20 73 65 61 | 72 63 68 20 70 61 74 68 | the sea|rch path|
|00000390| 20 75 73 65 64 20 62 79 | 20 74 68 65 20 6c 69 6e | used by| the lin|
|000003a0| 6b 65 72 20 6f 72 20 73 | 70 65 63 69 66 69 65 64 |ker or s|pecified|
|000003b0| 20 62 79 0a 74 68 65 20 | 7b 5c 74 74 20 2d 4c 7d | by.the |{\tt -L}|
|000003c0| 20 6f 70 74 69 6f 6e 2e | 0a 0a 54 68 65 20 75 74 | option.|..The ut|
|000003d0| 69 6c 69 74 69 65 73 20 | 7b 5c 74 74 20 70 6c 72 |ilities |{\tt plr|
|000003e0| 65 6e 64 65 72 7d 20 61 | 6e 64 20 7b 5c 74 74 20 |ender} a|nd {\tt |
|000003f0| 70 6c 74 65 6b 7d 20 73 | 68 6f 75 6c 64 20 62 65 |pltek} s|hould be|
|00000400| 20 69 6e 20 79 6f 75 72 | 20 73 65 61 72 63 68 20 | in your| search |
|00000410| 70 61 74 68 2e 0a 53 6f | 6d 65 20 67 6f 6f 64 20 |path..So|me good |
|00000420| 70 6c 61 63 65 73 20 74 | 6f 20 70 75 74 20 74 68 |places t|o put th|
|00000430| 65 73 65 20 69 6e 63 6c | 75 64 65 20 7b 5c 74 74 |ese incl|ude {\tt|
|00000440| 20 2f 75 73 72 2f 6c 6f | 63 61 6c 2f 62 69 6e 2f | /usr/lo|cal/bin/|
|00000450| 7d 20 6f 72 20 7b 5c 74 | 74 0a 2f 75 73 72 2f 6c |} or {\t|t./usr/l|
|00000460| 6f 63 61 6c 2f 70 6c 70 | 6c 6f 74 2f 7d 2e 0a 0a |ocal/plp|lot/}...|
|00000470| 54 68 65 20 50 4c 70 6c | 6f 74 20 66 6f 6e 74 20 |The PLpl|ot font |
|00000480| 66 69 6c 65 73 20 6d 75 | 73 74 20 62 65 20 77 68 |files mu|st be wh|
|00000490| 65 72 65 20 74 68 65 20 | 6c 69 62 72 61 72 79 20 |ere the |library |
|000004a0| 63 61 6e 20 66 69 6e 64 | 20 74 68 65 6d 2e 0a 54 |can find| them..T|
|000004b0| 68 65 20 63 75 72 72 65 | 6e 74 20 64 69 72 65 63 |he curre|nt direc|
|000004c0| 74 6f 72 79 20 69 73 20 | 61 6c 77 61 79 73 20 73 |tory is |always s|
|000004d0| 65 61 72 63 68 65 64 20 | 66 6f 72 20 74 68 65 20 |earched |for the |
|000004e0| 66 6f 6e 74 73 20 66 69 | 72 73 74 2c 20 66 6f 6c |fonts fi|rst, fol|
|000004f0| 6c 6f 77 65 64 0a 62 79 | 20 61 20 73 79 73 74 65 |lowed.by| a syste|
|00000500| 6d 2d 64 65 70 65 6e 64 | 65 6e 74 20 28 61 6e 64 |m-depend|ent (and|
|00000510| 20 70 65 72 68 61 70 73 | 20 73 69 74 65 2d 64 65 | perhaps| site-de|
|00000520| 70 65 6e 64 65 6e 74 29 | 20 73 65 61 72 63 68 20 |pendent)| search |
|00000530| 70 61 74 68 2e 0a 54 68 | 69 73 20 63 61 6e 20 62 |path..Th|is can b|
|00000540| 65 20 6d 6f 64 69 66 69 | 65 64 20 66 72 6f 6d 20 |e modifi|ed from |
|00000550| 74 68 65 20 6d 61 6b 65 | 66 69 6c 65 2c 20 62 75 |the make|file, bu|
|00000560| 74 20 69 73 20 73 74 72 | 75 63 74 75 72 65 64 20 |t is str|uctured |
|00000570| 73 6f 20 74 68 61 74 20 | 69 74 20 77 6f 6e 27 74 |so that |it won't|
|00000580| 0a 6f 66 74 65 6e 20 6e | 65 65 64 20 74 6f 20 62 |.often n|eed to b|
|00000590| 65 20 6d 6f 64 69 66 69 | 65 64 2e 20 20 4e 6f 74 |e modifi|ed. Not|
|000005a0| 65 20 74 68 61 74 20 64 | 69 72 65 63 74 6f 72 79 |e that d|irectory|
|000005b0| 20 6e 61 6d 65 73 20 6d | 75 73 74 20 62 65 20 64 | names m|ust be d|
|000005c0| 65 66 69 6e 65 64 20 77 | 69 74 68 0a 74 68 65 20 |efined w|ith.the |
|000005d0| 74 72 61 69 6c 69 6e 67 | 20 73 6c 61 73 68 2c 20 |trailing| slash, |
|000005e0| 69 66 20 6e 6f 6e 2d 6e | 75 6c 6c 2e 20 20 54 68 |if non-n|ull. Th|
|000005f0| 65 20 64 65 66 61 75 6c | 74 20 73 65 61 72 63 68 |e defaul|t search|
|00000600| 20 6f 72 64 65 72 20 66 | 6f 72 20 55 6e 69 78 2d | order f|or Unix-|
|00000610| 74 79 70 65 0a 73 79 73 | 74 65 6d 73 20 69 73 20 |type.sys|tems is |
|00000620| 61 73 20 66 6f 6c 6c 6f | 77 73 3a 0a 5c 62 65 67 |as follo|ws:.\beg|
|00000630| 69 6e 7b 76 65 72 62 61 | 74 69 6d 7d 0a 20 20 20 |in{verba|tim}. |
|00000640| 20 20 20 20 20 63 75 72 | 72 65 6e 74 20 64 69 72 | cur|rent dir|
|00000650| 65 63 74 6f 72 79 0a 20 | 20 20 20 20 20 20 20 24 |ectory. | $|
|00000660| 28 48 4f 4d 45 29 2f 6c | 69 62 2f 0a 20 20 20 20 |(HOME)/l|ib/. |
|00000670| 20 20 20 20 24 28 50 4c | 46 4f 4e 54 53 29 0a 20 | $(PL|FONTS). |
|00000680| 20 20 20 20 20 20 20 50 | 4c 46 4f 4e 54 44 45 56 | P|LFONTDEV|
|00000690| 31 20 20 20 20 20 20 28 | 2f 75 73 72 2f 6c 6f 63 |1 (|/usr/loc|
|000006a0| 61 6c 2f 6c 69 62 2f 29 | 0a 20 20 20 20 20 20 20 |al/lib/)|. |
|000006b0| 20 50 4c 46 4f 4e 54 44 | 45 56 32 20 20 20 20 20 | PLFONTD|EV2 |
|000006c0| 20 28 2f 75 73 72 2f 6c | 6f 63 61 6c 2f 6c 69 62 | (/usr/l|ocal/lib|
|000006d0| 2f 70 6c 70 6c 6f 74 2f | 0a 20 20 20 20 20 20 20 |/plplot/|. |
|000006e0| 20 50 4c 46 4f 4e 54 44 | 45 56 33 20 20 20 20 20 | PLFONTD|EV3 |
|000006f0| 20 28 2f 75 73 72 2f 6c | 6f 63 61 6c 2f 70 6c 70 | (/usr/l|ocal/plp|
|00000700| 6c 6f 74 2f 29 0a 5c 65 | 6e 64 7b 76 65 72 62 61 |lot/).\e|nd{verba|
|00000710| 74 69 6d 7d 0a 0a 54 68 | 69 73 20 69 73 20 77 69 |tim}..Th|is is wi|
|00000720| 6c 6c 20 6e 6f 74 20 62 | 65 20 61 20 63 6f 6e 63 |ll not b|e a conc|
|00000730| 65 72 6e 20 74 6f 20 74 | 68 65 20 75 73 65 72 20 |ern to t|he user |
|00000740| 69 66 20 74 68 65 20 66 | 6f 6e 74 73 20 61 72 65 |if the f|onts are|
|00000750| 20 6c 6f 63 61 74 65 64 | 20 63 6f 72 72 65 63 74 | located| correct|
|00000760| 6c 79 0a 64 75 72 69 6e | 67 20 69 6e 73 74 61 6c |ly.durin|g instal|
|00000770| 6c 61 74 69 6f 6e 2e 0a | 0a 25 25 25 25 25 25 25 |lation..|.%%%%%%%|
|00000780| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000790| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000007a0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000007b0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000007c0| 25 25 25 25 25 25 0a 0a | 5c 73 75 62 73 65 63 74 |%%%%%%..|\subsect|
|000007d0| 69 6f 6e 7b 49 6e 73 74 | 61 6c 6c 61 74 69 6f 6e |ion{Inst|allation|
|000007e0| 7d 0a 0a 54 6f 20 61 63 | 68 69 65 76 65 20 61 20 |}..To ac|hieve a |
|000007f0| 64 65 67 72 65 65 20 6f | 66 20 66 6c 65 78 69 62 |degree o|f flexib|
|00000800| 69 6c 69 74 79 20 61 6e | 64 20 73 79 73 74 65 6d |ility an|d system|
|00000810| 20 69 6e 64 65 70 65 6e | 64 65 6e 63 65 20 66 6f | indepen|dence fo|
|00000820| 72 20 74 68 65 20 50 4c | 70 6c 6f 74 0a 6d 61 6b |r the PL|plot.mak|
|00000830| 65 66 69 6c 65 2c 20 69 | 74 20 69 73 20 77 72 69 |efile, i|t is wri|
|00000840| 74 74 65 6e 20 69 6e 20 | 74 68 65 20 6d 61 63 72 |tten in |the macr|
|00000850| 6f 20 6c 61 6e 67 75 61 | 67 65 20 6d 34 2e 20 20 |o langua|ge m4. |
|00000860| 53 79 73 74 65 6d 20 64 | 65 70 65 6e 64 65 6e 63 |System d|ependenc|
|00000870| 69 65 73 20 61 72 65 0a | 72 65 73 6f 6c 76 65 64 |ies are.|resolved|
|00000880| 20 63 6f 6e 64 69 74 69 | 6f 6e 61 6c 6c 79 20 76 | conditi|onally v|
|00000890| 69 61 20 6d 34 20 6d 61 | 63 72 6f 73 2e 20 20 55 |ia m4 ma|cros. U|
|000008a0| 73 69 6e 67 20 74 68 69 | 73 20 6d 65 74 68 6f 64 |sing thi|s method|
|000008b0| 2c 20 6f 6e 6c 79 20 6f | 6e 65 20 66 69 6c 65 0a |, only o|ne file.|
|000008c0| 28 7b 5c 74 74 20 6d 61 | 6b 65 66 69 6c 65 2e 6d |({\tt ma|kefile.m|
|000008d0| 34 7d 29 20 69 73 20 72 | 65 71 75 69 72 65 64 20 |4}) is r|equired |
|000008e0| 66 6f 72 20 61 6c 6c 20 | 73 79 73 74 65 6d 73 20 |for all |systems |
|000008f0| 77 69 74 68 20 61 20 53 | 79 73 74 65 6d 56 2d 63 |with a S|ystemV-c|
|00000900| 6f 6d 70 61 74 69 62 6c | 65 0a 7b 5c 74 74 20 6d |ompatibl|e.{\tt m|
|00000910| 61 6b 65 7d 2e 20 20 54 | 68 69 73 20 65 6e 61 62 |ake}. T|his enab|
|00000920| 6c 65 73 20 75 73 20 74 | 6f 20 65 61 73 69 6c 79 |les us t|o easily|
|00000930| 20 73 75 70 70 6f 72 74 | 20 6d 61 6e 79 20 64 69 | support| many di|
|00000940| 66 66 65 72 65 6e 74 20 | 73 79 73 74 65 6d 73 2e |fferent |systems.|
|00000950| 0a 0a 48 65 72 65 27 73 | 20 68 6f 77 20 74 6f 20 |..Here's| how to |
|00000960| 6d 61 6b 65 20 65 76 65 | 72 79 74 68 69 6e 67 20 |make eve|rything |
|00000970| 63 6f 6e 76 65 6e 69 65 | 6e 74 6c 79 20 6f 6e 20 |convenie|ntly on |
|00000980| 61 20 75 6e 69 78 2d 6c | 69 6b 65 20 73 79 73 74 |a unix-l|ike syst|
|00000990| 65 6d 2e 20 20 46 69 72 | 73 74 2c 0a 69 66 20 79 |em. Fir|st,.if y|
|000009a0| 6f 75 20 72 75 6e 20 69 | 6e 74 6f 20 70 72 6f 62 |ou run i|nto prob|
|000009b0| 6c 65 6d 73 2c 20 79 6f | 75 20 73 68 6f 75 6c 64 |lems, yo|u should|
|000009c0| 20 72 65 61 64 20 7b 5c | 74 74 20 73 79 73 2f 75 | read {\|tt sys/u|
|000009d0| 6e 69 78 2f 6d 61 6b 65 | 66 69 6c 65 2e 6d 34 7d |nix/make|file.m4}|
|000009e0| 0a 63 61 72 65 66 75 6c | 6c 79 2c 20 61 73 20 69 |.careful|ly, as i|
|000009f0| 74 20 68 61 73 20 6d 75 | 63 68 20 61 64 64 69 74 |t has mu|ch addit|
|00000a00| 69 6f 6e 61 6c 20 69 6e | 66 6f 72 6d 61 74 69 6f |ional in|formatio|
|00000a10| 6e 20 69 6e 73 69 64 65 | 2e 20 20 49 66 20 79 6f |n inside|. If yo|
|00000a20| 75 72 20 73 79 73 74 65 | 6d 20 69 73 0a 6e 6f 74 |ur syste|m is.not|
|00000a30| 20 61 6c 72 65 61 64 79 | 20 73 75 70 70 6f 72 74 | already| support|
|00000a40| 65 64 2c 20 79 6f 75 20 | 6d 75 73 74 20 61 64 64 |ed, you |must add|
|00000a50| 20 73 79 73 74 65 6d 20 | 73 70 65 63 69 66 69 63 | system |specific|
|00000a60| 20 64 65 66 69 6e 65 73 | 20 61 6e 61 6c 6f 67 6f | defines| analogo|
|00000a70| 75 73 20 74 6f 0a 74 68 | 65 20 65 78 69 73 74 69 |us to.th|e existi|
|00000a80| 6e 67 20 6f 6e 65 73 20 | 69 6e 20 7b 5c 74 74 20 |ng ones |in {\tt |
|00000a90| 6d 61 6b 65 66 69 6c 65 | 2e 6d 34 7d 2e 20 20 54 |makefile|.m4}. T|
|00000aa0| 68 65 6e 3a 20 0a 5c 62 | 65 67 69 6e 7b 76 65 72 |hen: .\b|egin{ver|
|00000ab0| 62 61 74 69 6d 7d 0a 25 | 20 63 64 20 74 6d 70 0a |batim}.%| cd tmp.|
|00000ac0| 25 20 63 70 20 2e 2e 2f | 73 79 73 2f 75 6e 69 78 |% cp ../|sys/unix|
|00000ad0| 2f 6d 61 6b 65 66 69 6c | 65 2e 6d 34 20 2e 0a 25 |/makefil|e.m4 ..%|
|00000ae0| 20 6d 34 20 2d 44 3c 73 | 79 73 3e 20 6d 61 6b 65 | m4 -D<s|ys> make|
|00000af0| 66 69 6c 65 2e 6d 34 20 | 3e 6d 61 6b 65 66 69 6c |file.m4 |>makefil|
|00000b00| 65 20 0a 5c 65 6e 64 7b | 76 65 72 62 61 74 69 6d |e .\end{|verbatim|
|00000b10| 7d 0a 77 68 65 72 65 20 | 24 5c 6c 61 6e 67 6c 65 |}.where |$\langle|
|00000b20| 24 73 79 73 24 5c 72 61 | 6e 67 6c 65 24 20 69 73 |$sys$\ra|ngle$ is|
|00000b30| 20 61 6e 20 61 62 62 72 | 65 76 69 61 74 69 6f 6e | an abbr|eviation|
|00000b40| 20 66 6f 72 20 79 6f 75 | 72 20 73 79 73 74 65 6d | for you|r system|
|00000b50| 20 6e 61 6d 65 2c 20 65 | 2e 67 2e 0a 53 55 4e 4f | name, e|.g..SUNO|
|00000b60| 53 2c 20 55 4e 49 43 4f | 53 2c 20 41 49 58 2c 20 |S, UNICO|S, AIX, |
|00000b70| 65 74 63 2e 20 20 54 6f | 20 67 65 74 20 74 68 65 |etc. To| get the|
|00000b80| 20 64 6f 75 62 6c 65 20 | 70 72 65 63 69 73 69 6f | double |precisio|
|00000b90| 6e 20 6c 69 62 72 61 72 | 79 20 66 6f 72 20 79 6f |n librar|y for yo|
|00000ba0| 75 72 0a 73 79 73 74 65 | 6d 2c 20 73 70 65 63 69 |ur.syste|m, speci|
|00000bb0| 66 79 20 7b 5c 74 74 20 | 2d 44 44 4f 55 42 4c 45 |fy {\tt |-DDOUBLE|
|00000bc0| 7d 20 6f 6e 20 74 68 65 | 20 7b 5c 74 74 20 6d 34 |} on the| {\tt m4|
|00000bd0| 7d 20 63 6f 6d 6d 61 6e | 64 20 6c 69 6e 65 20 28 |} comman|d line (|
|00000be0| 6e 6f 74 65 3a 20 46 6f | 72 74 72 61 6e 0a 64 6f |note: Fo|rtran.do|
|00000bf0| 75 62 6c 65 20 70 72 65 | 63 69 73 69 6f 6e 20 6d |uble pre|cision m|
|00000c00| 61 79 20 6e 6f 74 20 62 | 65 20 73 75 70 70 6f 72 |ay not b|e suppor|
|00000c10| 74 65 64 20 6f 6e 20 79 | 6f 75 72 20 73 79 73 74 |ted on y|our syst|
|00000c20| 65 6d 20 75 73 69 6e 67 | 20 74 68 69 73 20 6d 65 |em using| this me|
|00000c30| 74 68 6f 64 3b 0a 63 68 | 65 63 6b 20 74 68 65 20 |thod;.ch|eck the |
|00000c40| 72 65 6c 65 61 73 65 20 | 6e 6f 74 65 73 20 74 6f |release |notes to|
|00000c50| 20 62 65 20 73 75 72 65 | 29 2e 20 20 41 74 20 74 | be sure|). At t|
|00000c60| 68 69 73 20 70 6f 69 6e | 74 2c 20 79 6f 75 20 6d |his poin|t, you m|
|00000c70| 61 79 20 77 69 73 68 20 | 74 6f 20 65 64 69 74 0a |ay wish |to edit.|
|00000c80| 7b 5c 74 74 20 6d 61 6b | 65 66 69 6c 65 7d 20 74 |{\tt mak|efile} t|
|00000c90| 6f 20 63 68 61 6e 67 65 | 20 77 68 61 74 65 76 65 |o change| whateve|
|00000ca0| 72 20 73 65 74 74 69 6e | 67 73 20 61 72 65 20 72 |r settin|gs are r|
|00000cb0| 65 71 75 69 72 65 64 20 | 7b 5c 65 6d 20 66 6f 72 |equired |{\em for|
|00000cc0| 20 79 6f 75 72 20 73 69 | 74 65 0a 6f 6e 6c 79 7d | your si|te.only}|
|00000cd0| 2e 20 20 46 6f 72 20 65 | 78 61 6d 70 6c 65 2c 20 |. For e|xample, |
|00000ce0| 79 6f 75 20 6d 61 79 20 | 77 69 73 68 20 74 6f 20 |you may |wish to |
|00000cf0| 65 64 69 74 20 74 68 65 | 20 64 65 76 69 63 65 20 |edit the| device |
|00000d00| 6c 69 73 74 20 74 6f 20 | 69 6e 63 6c 75 64 65 20 |list to |include |
|00000d10| 6f 6e 6c 79 0a 74 68 6f | 73 65 20 64 65 76 69 63 |only.tho|se devic|
|00000d20| 65 73 20 77 68 69 63 68 | 20 79 6f 75 20 61 63 74 |es which| you act|
|00000d30| 75 61 6c 6c 79 20 68 61 | 76 65 20 61 63 63 65 73 |ually ha|ve acces|
|00000d40| 73 20 74 6f 2e 20 0a 0a | 54 68 65 6e 2c 20 77 68 |s to. ..|Then, wh|
|00000d50| 69 6c 65 20 69 6e 20 74 | 68 65 20 7b 5c 74 74 20 |ile in t|he {\tt |
|00000d60| 74 6d 70 7d 20 64 69 72 | 65 63 74 6f 72 79 3a 0a |tmp} dir|ectory:.|
|00000d70| 25 0a 5c 62 65 67 69 6e | 7b 76 65 72 62 61 74 69 |%.\begin|{verbati|
|00000d80| 6d 7d 0a 25 20 6d 61 6b | 65 20 6c 69 6e 6b 73 0a |m}.% mak|e links.|
|00000d90| 5c 65 6e 64 7b 76 65 72 | 62 61 74 69 6d 7d 0a 25 |\end{ver|batim}.%|
|00000da0| 0a 73 65 74 73 20 75 70 | 20 73 6f 66 74 20 6c 69 |.sets up| soft li|
|00000db0| 6e 6b 73 20 74 6f 20 61 | 6c 6c 20 74 68 65 20 66 |nks to a|ll the f|
|00000dc0| 69 6c 65 73 20 79 6f 75 | 20 77 69 6c 6c 20 65 76 |iles you| will ev|
|00000dd0| 65 72 20 6e 65 65 64 2e | 0a 25 0a 5c 62 65 67 69 |er need.|.%.\begi|
|00000de0| 6e 7b 76 65 72 62 61 74 | 69 6d 7d 0a 25 20 6d 61 |n{verbat|im}.% ma|
|00000df0| 6b 65 20 5b 6c 69 62 73 | 5d 0a 5c 65 6e 64 7b 76 |ke [libs|].\end{v|
|00000e00| 65 72 62 61 74 69 6d 7d | 0a 25 0a 77 69 6c 6c 20 |erbatim}|.%.will |
|00000e10| 6d 61 6b 65 20 74 68 65 | 20 50 4c 70 6c 6f 74 20 |make the| PLplot |
|00000e20| 6c 69 62 72 61 72 79 28 | 73 29 20 28 7b 5c 74 74 |library(|s) ({\tt|
|00000e30| 20 6c 69 62 73 7d 20 69 | 73 20 74 68 65 20 66 69 | libs} i|s the fi|
|00000e40| 72 73 74 20 74 61 72 67 | 65 74 20 61 6e 64 0a 74 |rst targ|et and.t|
|00000e50| 68 65 72 65 66 6f 72 65 | 20 6f 70 74 69 6f 6e 61 |herefore| optiona|
|00000e60| 6c 29 2c 20 77 68 65 72 | 65 61 73 0a 25 0a 5c 62 |l), wher|eas.%.\b|
|00000e70| 65 67 69 6e 7b 76 65 72 | 62 61 74 69 6d 7d 0a 25 |egin{ver|batim}.%|
|00000e80| 20 6d 61 6b 65 20 65 76 | 65 72 79 74 68 69 6e 67 | make ev|erything|
|00000e90| 0a 5c 65 6e 64 7b 76 65 | 72 62 61 74 69 6d 7d 0a |.\end{ve|rbatim}.|
|00000ea0| 25 0a 6d 61 6b 65 73 20 | 74 68 65 20 6d 61 69 6e |%.makes |the main|
|00000eb0| 20 6c 69 62 72 61 72 79 | 2c 20 66 6f 6e 74 73 2c | library|, fonts,|
|00000ec0| 20 7b 5c 74 74 20 70 6c | 72 65 6e 64 65 72 7d 2c | {\tt pl|render},|
|00000ed0| 20 61 6e 64 20 7b 5c 74 | 74 20 70 6c 74 65 6b 7d | and {\t|t pltek}|
|00000ee0| 2c 20 66 6f 72 20 74 68 | 65 0a 64 65 66 61 75 6c |, for th|e.defaul|
|00000ef0| 74 20 70 72 65 63 69 73 | 69 6f 6e 20 28 70 72 6f |t precis|ion (pro|
|00000f00| 62 61 62 6c 79 20 73 69 | 6e 67 6c 65 20 6f 6e 20 |bably si|ngle on |
|00000f10| 61 20 77 6f 72 6b 73 74 | 61 74 69 6f 6e 29 2e 20 |a workst|ation). |
|00000f20| 20 54 68 69 73 20 69 73 | 20 6a 75 73 74 20 61 6e | This is| just an|
|00000f30| 0a 61 62 62 72 65 76 69 | 61 74 69 6f 6e 20 66 6f |.abbrevi|ation fo|
|00000f40| 72 20 74 79 70 69 6e 67 | 20 7b 5c 74 74 20 5c 25 |r typing| {\tt \%|
|00000f50| 20 6d 61 6b 65 20 6c 69 | 62 73 20 66 6f 6e 74 73 | make li|bs fonts|
|00000f60| 20 70 6c 72 65 6e 64 65 | 72 20 70 6c 74 65 6b 7d | plrende|r pltek}|
|00000f70| 2e 0a 54 6f 20 6d 61 6b | 65 20 6f 6e 65 20 6f 66 |..To mak|e one of|
|00000f80| 20 74 68 65 20 65 78 61 | 6d 70 6c 65 20 70 72 6f | the exa|mple pro|
|00000f90| 67 72 61 6d 73 2c 0a 25 | 0a 5c 62 65 67 69 6e 7b |grams,.%|.\begin{|
|00000fa0| 76 65 72 62 61 74 69 6d | 7d 0a 25 20 6d 61 6b 65 |verbatim|}.% make|
|00000fb0| 20 78 30 31 63 0a 5c 65 | 6e 64 7b 76 65 72 62 61 | x01c.\e|nd{verba|
|00000fc0| 74 69 6d 7d 0a 25 0a 66 | 6f 72 20 74 68 65 20 66 |tim}.%.f|or the f|
|00000fd0| 69 72 73 74 20 43 20 64 | 65 6d 6f 2c 20 6f 72 0a |irst C d|emo, or.|
|00000fe0| 25 0a 5c 62 65 67 69 6e | 7b 76 65 72 62 61 74 69 |%.\begin|{verbati|
|00000ff0| 6d 7d 0a 25 20 6d 61 6b | 65 20 78 30 31 66 0a 5c |m}.% mak|e x01f.\|
|00001000| 65 6e 64 7b 76 65 72 62 | 61 74 69 6d 7d 0a 25 0a |end{verb|atim}.%.|
|00001010| 66 6f 72 20 74 68 65 20 | 66 69 72 73 74 20 46 6f |for the |first Fo|
|00001020| 72 74 72 61 6e 20 64 65 | 6d 6f 20 28 6f 74 68 65 |rtran de|mo (othe|
|00001030| 72 20 65 78 61 6d 70 6c | 65 20 70 72 6f 67 72 61 |r exampl|e progra|
|00001040| 6d 73 20 61 72 65 20 73 | 69 6d 69 6c 61 72 29 2e |ms are s|imilar).|
|00001050| 20 20 54 6f 20 6d 61 6b | 65 0a 61 6c 6c 20 74 68 | To mak|e.all th|
|00001060| 65 20 43 20 70 72 6f 67 | 72 61 6d 20 6f 72 20 46 |e C prog|ram or F|
|00001070| 6f 72 74 72 61 6e 20 70 | 72 6f 67 72 61 6d 20 64 |ortran p|rogram d|
|00001080| 65 6d 6f 73 2c 20 73 70 | 65 63 69 66 79 20 7b 5c |emos, sp|ecify {\|
|00001090| 74 74 20 63 64 65 6d 6f | 73 7d 20 6f 72 0a 7b 5c |tt cdemo|s} or.{\|
|000010a0| 74 74 20 66 64 65 6d 6f | 73 7d 20 61 73 20 74 68 |tt fdemo|s} as th|
|000010b0| 65 20 74 61 72 67 65 74 | 2e 0a 0a 46 69 6e 61 6c |e target|...Final|
|000010c0| 6c 79 2c 20 79 6f 75 20 | 6d 75 73 74 20 6d 6f 76 |ly, you |must mov|
|000010d0| 65 20 74 68 65 20 50 4c | 70 6c 6f 74 20 6c 69 62 |e the PL|plot lib|
|000010e0| 72 61 72 79 2c 20 66 6f | 6e 74 73 2c 20 61 6e 64 |rary, fo|nts, and|
|000010f0| 20 75 74 69 6c 69 74 69 | 65 73 20 74 6f 20 0a 61 | utiliti|es to .a|
|00001100| 20 6d 6f 72 65 20 70 65 | 72 6d 61 6e 65 6e 74 20 | more pe|rmanent |
|00001110| 6c 6f 63 61 74 69 6f 6e | 2c 20 66 6f 72 20 65 78 |location|, for ex|
|00001120| 61 6d 70 6c 65 3a 0a 5c | 62 65 67 69 6e 7b 76 65 |ample:.\|begin{ve|
|00001130| 72 62 61 74 69 6d 7d 0a | 25 20 6d 76 20 2e 2e 2f |rbatim}.|% mv ../|
|00001140| 6c 69 62 2f 2a 2e 6c 69 | 62 20 2f 75 73 72 2f 6c |lib/*.li|b /usr/l|
|00001150| 6f 63 61 6c 2f 70 6c 70 | 6c 6f 74 0a 25 20 6d 76 |ocal/plp|lot.% mv|
|00001160| 20 2a 2e 66 6e 74 20 2a | 2e 69 64 78 20 2a 2e 6c | *.fnt *|.idx *.l|
|00001170| 6b 70 20 2f 75 73 72 2f | 6c 6f 63 61 6c 2f 70 6c |kp /usr/|local/pl|
|00001180| 70 6c 6f 74 0a 25 20 6d | 76 20 70 6c 72 65 6e 64 |plot.% m|v plrend|
|00001190| 65 72 20 70 6c 74 65 6b | 20 2f 75 73 72 2f 6c 6f |er pltek| /usr/lo|
|000011a0| 63 61 6c 2f 70 6c 70 6c | 6f 74 0a 5c 65 6e 64 7b |cal/plpl|ot.\end{|
|000011b0| 76 65 72 62 61 74 69 6d | 7d 0a 69 66 20 79 6f 75 |verbatim|}.if you|
|000011c0| 20 61 72 65 20 69 6e 73 | 74 61 6c 6c 69 6e 67 20 | are ins|talling |
|000011d0| 69 6e 74 6f 20 73 79 73 | 74 65 6d 20 64 69 72 65 |into sys|tem dire|
|000011e0| 63 74 6f 72 69 65 73 2c | 20 6f 72 0a 5c 62 65 67 |ctories,| or.\beg|
|000011f0| 69 6e 7b 76 65 72 62 61 | 74 69 6d 7d 0a 25 20 6d |in{verba|tim}.% m|
|00001200| 76 20 2e 2e 2f 6c 69 62 | 2f 2a 2e 6c 69 62 20 7e |v ../lib|/*.lib ~|
|00001210| 2f 6c 69 62 0a 25 20 6d | 76 20 2a 2e 66 6e 74 20 |/lib.% m|v *.fnt |
|00001220| 2a 2e 69 64 78 20 2a 2e | 6c 6b 70 20 7e 2f 6c 69 |*.idx *.|lkp ~/li|
|00001230| 62 0a 25 20 6d 76 20 70 | 6c 72 65 6e 64 65 72 20 |b.% mv p|lrender |
|00001240| 70 6c 74 65 6b 20 7e 2f | 62 69 6e 0a 5c 65 6e 64 |pltek ~/|bin.\end|
|00001250| 7b 76 65 72 62 61 74 69 | 6d 7d 0a 69 66 20 79 6f |{verbati|m}.if yo|
|00001260| 75 20 61 72 65 20 69 6e | 73 74 61 6c 6c 69 6e 67 |u are in|stalling|
|00001270| 20 69 6e 20 79 6f 75 72 | 20 64 69 72 65 63 74 6f | in your| directo|
|00001280| 72 79 20 74 72 65 65 20 | 6f 6e 6c 79 20 28 6e 6f |ry tree |only (no|
|00001290| 74 65 20 75 6e 64 65 72 | 20 53 55 4e 4f 53 20 79 |te under| SUNOS y|
|000012a0| 6f 75 20 6d 75 73 74 0a | 72 75 6e 20 7b 5c 74 74 |ou must.|run {\tt|
|000012b0| 20 72 61 6e 6c 69 62 7d | 20 6f 6e 20 6c 69 62 72 | ranlib}| on libr|
|000012c0| 61 72 69 65 73 20 61 66 | 74 65 72 20 6d 6f 76 69 |aries af|ter movi|
|000012d0| 6e 67 20 74 68 65 6d 29 | 2e 20 20 59 6f 75 20 73 |ng them)|. You s|
|000012e0| 68 6f 75 6c 64 20 74 68 | 65 6e 20 74 65 73 74 20 |hould th|en test |
|000012f0| 74 68 65 0a 6c 69 62 72 | 61 72 79 20 61 67 61 69 |the.libr|ary agai|
|00001300| 6e 20 75 73 69 6e 67 20 | 6f 6e 65 20 6f 66 20 74 |n using |one of t|
|00001310| 68 65 20 65 78 61 6d 70 | 6c 65 20 70 72 6f 67 72 |he examp|le progr|
|00001320| 61 6d 73 20 74 6f 20 65 | 6e 73 75 72 65 20 74 68 |ams to e|nsure th|
|00001330| 61 74 20 65 76 65 72 79 | 74 68 69 6e 67 0a 77 6f |at every|thing.wo|
|00001340| 72 6b 73 20 70 65 72 66 | 65 63 74 6c 79 2e 20 20 |rks perf|ectly. |
|00001350| 41 66 74 65 72 20 79 6f | 75 20 61 72 65 20 66 69 |After yo|u are fi|
|00001360| 6e 69 73 68 65 64 2c 20 | 79 6f 75 20 6d 61 79 20 |nished, |you may |
|00001370| 64 65 6c 65 74 65 20 65 | 76 65 72 79 74 68 69 6e |delete e|verythin|
|00001380| 67 20 69 6e 20 74 68 65 | 0a 74 6d 70 20 64 69 72 |g in the|.tmp dir|
|00001390| 65 63 74 6f 72 79 2e 0a | 0a 4e 6f 74 65 20 74 68 |ectory..|.Note th|
|000013a0| 61 74 20 73 74 61 72 74 | 69 6e 67 20 77 69 74 68 |at start|ing with|
|000013b0| 20 50 4c 70 6c 6f 74 20 | 76 65 72 73 69 6f 6e 20 | PLplot |version |
|000013c0| 34 2e 30 2c 20 74 68 65 | 20 7b 5c 74 74 20 2a 2e |4.0, the| {\tt *.|
|000013d0| 69 64 78 7d 20 61 6e 64 | 20 74 68 65 20 7b 5c 74 |idx} and| the {\t|
|000013e0| 74 0a 2a 2e 6c 6b 70 7d | 20 66 69 6c 65 73 20 61 |t.*.lkp}| files a|
|000013f0| 72 65 20 6e 6f 20 6c 6f | 6e 67 65 72 20 67 65 6e |re no lo|nger gen|
|00001400| 65 72 61 74 65 64 2e 20 | 20 54 68 65 20 69 6e 66 |erated. | The inf|
|00001410| 6f 20 74 68 65 79 20 63 | 6f 6e 74 61 69 6e 65 64 |o they c|ontained|
|00001420| 20 68 61 73 20 62 65 65 | 6e 0a 73 74 75 66 66 65 | has bee|n.stuffe|
|00001430| 64 20 69 6e 74 6f 20 74 | 68 65 20 7b 5c 74 74 20 |d into t|he {\tt |
|00001440| 2a 2e 66 6e 74 7d 20 66 | 69 6c 65 73 2e 20 20 54 |*.fnt} f|iles. T|
|00001450| 68 69 73 20 6d 65 61 6e | 73 20 77 68 65 6e 20 79 |his mean|s when y|
|00001460| 6f 75 20 6d 6f 76 65 20 | 74 68 65 20 66 6f 6e 74 |ou move |the font|
|00001470| 0a 66 69 6c 65 73 20 74 | 6f 20 74 68 65 69 72 20 |.files t|o their |
|00001480| 70 65 72 6d 61 6e 65 6e | 74 20 6c 6f 63 61 6c 65 |permanen|t locale|
|00001490| 2c 20 79 6f 75 20 6f 6e | 6c 79 20 6e 65 65 64 20 |, you on|ly need |
|000014a0| 74 6f 20 64 6f 0a 5c 62 | 65 67 69 6e 7b 76 65 72 |to do.\b|egin{ver|
|000014b0| 62 61 74 69 6d 7d 0a 6d | 76 20 2a 2e 66 6e 74 20 |batim}.m|v *.fnt |
|000014c0| 77 68 65 72 65 76 65 72 | 0a 5c 65 6e 64 7b 76 65 |wherever|.\end{ve|
|000014d0| 72 62 61 74 69 6d 7d 0a | 0a 49 66 20 79 6f 75 20 |rbatim}.|.If you |
|000014e0| 68 61 76 65 20 61 6e 79 | 20 64 69 66 66 69 63 75 |have any| difficu|
|000014f0| 74 6c 79 20 77 69 74 68 | 20 69 6e 73 74 61 6c 6c |tly with| install|
|00001500| 69 6e 67 20 74 68 65 20 | 50 4c 70 6c 6f 74 20 66 |ing the |PLplot f|
|00001510| 69 6c 65 73 20 69 6e 74 | 6f 20 74 68 65 69 72 0a |iles int|o their.|
|00001520| 70 65 72 6d 61 6e 65 6e | 74 20 70 6c 61 63 65 73 |permanen|t places|
|00001530| 2c 20 79 6f 75 72 20 6c | 6f 63 61 6c 20 75 6e 69 |, your l|ocal uni|
|00001540| 78 20 73 79 73 74 65 6d | 20 77 69 7a 61 72 64 20 |x system| wizard |
|00001550| 6d 61 79 20 62 65 20 61 | 62 6c 65 20 74 6f 20 68 |may be a|ble to h|
|00001560| 65 6c 70 20 79 6f 75 2e | 0a |elp you.|. |
+--------+-------------------------+-------------------------+--------+--------+